package zhousi;
import java.util.Scanner;
public class Sizhou {
    private String name;
    private  String sex;
    private int health;
    private  int  like;

    public int getLike() {
        return like;
    }

    public void setLike(int like) {
        this.like = like;
    }

    public Sizhou(){

}
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getHealth() {
        return health;
    }

    public void setHealth(int health) {
        this.health = health;
    }



    public Sizhou(String name, String sex, int health, int  like) {
        this.name = name;
        this.sex = sex;
        this.health = health;
        this.like = like;
    }

    @Override
    public String toString() {
        return "Sizhou{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", health=" + health +
                ", like='" + like + '\'' +
                '}';

    }
    public void print(){
    System.out.println("宠物的自白");
    System.out.println("我叫"+name+"亲密度"+like+"健康值"+health);
    }


}
